package didto

import (
	"gitee.com/ichub/goconfig/common/base/baseiface"
	"gitee.com/ichub/goconfig/common/basedi"
)

const singleNameFileInfoDto = "FileinfoDto"

// init
// register
// load
func init() {
	registerBeanFileInfoDto()
}

// register FileinfoDto
func registerBeanFileInfoDto() {
	basedi.RegisterLoadBean(singleNameFileInfoDto, LoadFileInfoDto)
}

func FindBeanFileInfoDto() *FileinfoDto {
	return basedi.FindBean(singleNameFileInfoDto).(*FileinfoDto)
}

func LoadFileInfoDto() baseiface.ISingleton {
	return NewFileInfoDto()
}
